#
# Be sure to run `pod lib lint BusinessUnitBUName.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'MirrorSDWebImageSwiftUI'
  s.version          = '0.1.2'
  s.summary          = 'A short description of MirrorSDWebImageSwiftUI.'
  s.swift_version    = '5.0'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/PeopleDream/mirror-sdwebimage-swiftui'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'wenda xu' => 'xu_wendajxq@163.com' }
  s.source           = { :git => 'git@gitee.com:PeopleDream/mirror-sdwebimage-swiftui.git', :tag => 'MirrorSDWebImageSwiftUI-' + s.version.to_s }
  # s.social_media_url = 'https://twitter.com/theochen'

  s.ios.deployment_target = '13.0'

  s.cocoapods_version = '>= 1.9.0'
  s.static_framework = false
  s.prefix_header_file = false

  s.source_files = 'BusinessUnit/MirrorSDWebImageSwiftUI/Classes/**/*', 'BusinessUnit/MirrorSDWebImageSwiftUI/Module/*.h'
  # s.exclude_files = "BusinessUnit/BUName/Classes/*.swift"
  s.preserve_paths = [
    'BusinessUnit/README.md',
    'BusinessUnit/CHANGELOG.md'
  ]

  s.pod_target_xcconfig = {
    'SUPPORTS_MACCATALYST' => 'YES',
    'DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER' => 'NO',
    'BUILD_LIBRARY_FOR_DISTRIBUTION' => 'YES'
  }
  # s.public_header_files = 'BusinessUnit/BUName/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  
  # Todo: write your dependency here
  # famous public pods
  # less famous public pods
  # private pods
  s.weak_frameworks = 'SwiftUI', 'Combine'
  s.dependency 'MirrorSDWebImage'
  
end

